package jbl.model;

import java.sql.Timestamp;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Tkf entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "code_log", catalog = "jbldangl")
public class Code_log implements java.io.Serializable {

	private String id;
	private String user;
	private String ip;
	private String log;
	private Timestamp cisj;
	

	public Code_log() {
		super();
	}

	public Code_log(String id, String user, String ip, String log, Timestamp cisj) {
		super();
		this.id = id;
		this.user = user;
		this.ip = ip;
		this.log = log;
		this.cisj = cisj;
	}

	@Id
	@Column(name = "id", unique = true, nullable = false, length = 50)
	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}
	@Column(name = "user", length = 50)
	public String getUser() {
		return user;
	}

	public void setUser(String user) {
		this.user = user;
	}
	@Column(name = "ip", length = 50)
	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}
	@Column(name = "log", length = 100)
	public String getLog() {
		return log;
	}

	public void setLog(String log) {
		this.log = log;
	}
	@Column(name = "cjsj", length = 11)
	public Timestamp getCjsj() {
		return cisj;
	}

	public void setCjsj(Timestamp cisj) {
		this.cisj = cisj;
	}
}